package org.thanos.demo;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.web.bind.annotation.RestController;

@RestController
@EnableDiscoveryClient
@SpringBootApplication
public class ZookeeperServiceApp {

    public static void main(String[] args) {
        new SpringApplicationBuilder(ZookeeperServiceApp.class)
                .web(WebApplicationType.REACTIVE)
                .run(args);
    }
}
